home *** CD-ROM | disk | FTP | other *** search
- /* Provider Configuration Follows:
- Name FIN_Kolumbus ; Name for this configuration
- DialUp 1
- Interface slip ;
- InterfaceConfig "VJCMode=2 " ; Use Van Jacobson header compression
- NeedSerial 1
- IPDynamic 0 ; 1 = YES, 0 = NO
- IPAddr ; IP-address if static
- NSDynamic 1 ; 1 = YES, 0 = NO
- UseBootP 0 ; 1 = YES, 0 = NO
- MTU 968 ; Provider specific
- Phone "107751" ; phone numbers (separated with spaces)
- */
-
- /*
- * $Id: FIN_Kolumbus,v 1.3 1996/05/14 01:10:14 ppessi Exp jraja $
- *
- * AmiTCP/IP Dial Script for Telecom Finland INet Open
- *
- * Copyright © 1996 AmiTCP/IP Group,
- * Network Solutions Development Inc.
- * All rights reserved.
- *
- */
-
-
- options results
- signal on error
-
- Set WaitForTimeout 30
- Set InterCharDelay 20
-
- /*
- * You should type your login information here:
- */
- YourLogin="YOUR LOGIN"
- YourPassword="YOUR PASSWORD"
- Get IPAddr
-
- ShowConsole
-
- call CheckModemState
- /*
- * If modem is already online, assume that we have an existing
- * slip connection, and skip dialing and the login sequence
- */
- if (result = 0) then do
- call CommandState
-
- call Dial
-
- if (result != 0) then
- exit 10
-
- /*
- * Login sequence
- */
- /*
- * Manual login if user has not edited this script to contain his own
- * user information.
- * DO NOT EDIT THE "YOUR LOGIN" HERE!
- */
- if ( YourLogin = "YOUR LOGIN" ) then do
- Say "Please log in manually using the terminal window shown. You can have"
- Say "automated login, if you edit AmiTCP:db/provider.conf to include your"
- Say "login name and password."
- Status "Please log in manually:"
- ManualConsole
- end
- else do
- SendLn ""
- SendLn ""
- WaitFor "Username:"
- SendLn YourLogin
- WaitFor "Password:"
- SendLn YourPassword
- WaitFor "gw>"
- SendLn "slip /compressed " IPAddr
- WaitFor "Password:"
- SendLn YourPassword
- Pause 5
- end
- end
-
- set NAMESERVER1 193.229.0.40
-
- exit 0; /* succesfull exit */
-
- error:
- Say "Kolumbus: Command on line" SIGL "returned" RC ":" SerScript.LASTERROR
- Exit 10
-